DNSSEC-DSFROMKEY(8) | BIND9 | DNSSEC-DSFROMKEY(8) |
NAME¶
dnssec-dsfromkey - DNSSEC DS RR generation tool
SYNOPSIS¶
dnssec-dsfromkey [-v level] [-1] [-2] [-a alg] [-C] [-l domain] [-T TTL] {keyfile}
dnssec-dsfromkey {-s} [-1] [-2] [-a alg] [-K directory] [-l domain] [-s] [-c class] [-T TTL] [-f file] [-A] [-v level] {dnsname}
dnssec-dsfromkey [-h] [-V]
DESCRIPTION¶
dnssec-dsfromkey outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
OPTIONS¶
-1
-2
-a algorithm
-C
-T TTL
-K directory
-f file
If file is set to "-", then the zone data is read from the standard input. This makes it possible to use the output of the dig command as input, as in:
dig dnskey example.com | dnssec-dsfromkey -f - example.com
-A
-l domain
-s
-c class
-v level
-h
-V
EXAMPLE¶
To build the SHA-256 DS RR from the Kexample.com.+003+26160 keyfile name, the following command would be issued:
dnssec-dsfromkey -2 Kexample.com.+003+26160
The command would print something like:
example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94
FILES¶
The keyfile can be designed by the key identification Knnnn.+aaa+iiiii or the full file name Knnnn.+aaa+iiiii.key as generated by dnssec-keygen(8).
The keyset file name is built from the directory, the string keyset- and the dnsname.
CAVEAT¶
A keyfile error can give a "file not found" even if the file exists.
SEE ALSO¶
dnssec-keygen(8), dnssec-signzone(8), BIND 9 Administrator Reference Manual, RFC 3658, RFC 4431. RFC 4509.
AUTHOR¶
Internet Systems Consortium, Inc.
COPYRIGHT¶
Copyright © 2008-2012, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
2012-05-02 | ISC |